﻿#ifndef _serialPort_H__
#define _serialPort_H__
//#include "wx/wxprec.h"
//#include	<wx/log.h>

#include "windows.h"
#include "stdio.h"
//#include
class serialPort  
{
public:
	bool ReadCom(char * ReceiveData);
	void CloseCom();
	bool WriteCom(const char * sendchar);
	bool OpenCom(int Port);

	serialPort();
	virtual ~serialPort();
	int m_Port;

	HANDLE hComm;
private:
	
	bool bOpenCom;
};

#endif
